package utils;

import android.util.Log;

/**
 * @author 李志培
 *         <p/>
 *         作者信息：嘉应学院1303班
 *         <p/>
 *         创建日期：2016-8-3下午1:46
 *         <p/>
 *         类描述：显示log
 *         <p/>
 *         修改历史：
 */
public class LogUtils {
    private static String TAG = "qTalkDebug";
    private static boolean showLOG = true;

    public static void ShowLog_d(String log) {
        if (showLOG)
            Log.d(TAG, log);
    }

    public static void ShowLog_i(String log) {
        if (showLOG)
            Log.i(TAG, log);
    }

    public static void ShowLog_e(String log) {
        if (showLOG)
            Log.e(TAG, log);
    }

    public static void ShowLog_w(String log) {
        if (showLOG)
            Log.w(TAG, log);
    }
}
